#include <rtthread.h>
#include "alarms.h"
#include "dio_bsp.h"
#include "kits/fifo.h"
#include "local_status.h"
#include "output_ctrl.h"
#include "req_execution.h"
#include "require_calc.h"
#include "sys_conf.h"
#include "sys_status.h"

void core_thread_entry(void *parameter)
{
    rt_thread_delay(CORE_THREAD_DELAY);
    alarm_acl_init();
    inc_pid_param_init();
    sys_option_di_sts(DI_POWER_LOSS_BPOS, 1);

    while (1) {
        alarm_acl_exe();
        oc_update();
        rt_thread_delay(1000);
    }
}
